<template>
	<view class="page-fade-in" :style="{opacity: pageOpc}">
		<template v-if="pageOpc">
			<view class="content">
				<view class="function-box">
					<view class="function-item flexWrap" @tap="goPage('/moduleE/protocol?type=1')">
						<view class="item-left flexWrapNo">
							用户协议
						</view>
						<image src="../static/user/more-icon.png" class="more-icon"></image>
					</view>
					<view class="function-item flexWrap" @tap="goPage('/moduleE/protocol?type=2')">
						<view class="item-left flexWrapNo">
							隐私政策
						</view>
						<image src="../static/user/more-icon.png" class="more-icon"></image>
					</view>
					<view class="function-item flexWrap" @tap="goPage('/moduleE/logoff')">
						<view class="item-left flexWrapNo">
							账号注销
						</view>
						<image src="../static/user/more-icon.png" class="more-icon"></image>
					</view>
				</view>
			</view>
		</template>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageOpc:0,
			}
		},
		onLoad() {
			
		},
		onReady(){
			setTimeout(() => {
				this.pageOpc=1
			}, 100)
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.function-box{
		padding: 30upx;
		.function-title{
			font-size: 32rpx;
			font-family: Source Han Sans CN;
			font-weight: 600;
			color: #111B3B;
			padding: 40rpx 36rpx;
		}
		.function-item{
			padding: 36rpx 32upx;
			position: relative;
			background: #232428;
			border-radius: 20upx;
			margin-bottom: 4upx;
			.item-left{
				font-size: 34upx;
				font-family: PingFang SC;
				font-weight: 400;
				line-height: 44upx;
				color: #FFFFFF;
				.item-icon{
					width: 36rpx;
					height: 36rpx;
					flex: none;
					margin-right: 17rpx;
				}
			}
			.item-right{
				font-size: 28upx;
				font-family: PingFang SC;
				font-weight: 400;
				line-height: 44upx;
				color: #FFFFFF;
				.important{
					color: #FFB726;
				}
			}
			.more-icon{
				width: 72upx;
				height: 72upx;
			}
		}
	}
</style>
